Fix mouse interaction in combo cell renderer
authorMatthias Clasen <mclasen@redhat.com>
Fri, 19 Apr 2013 14:07:44 +0000 (10:07 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 19 Apr 2013 14:11:48 +0000 (10:11 -0400)
Pass the event on when calling gtk_cell_editable_start_editing.
https://bugzilla.gnome.org/show_bug.cgi?id=504901

gtk/gtkcellarea.c

index df9c70968a0ce52235da79cda714a05ea0c76a60..715e4ae20786684059850800b170971f4c2146f7 100644 (file)
@@ -3440,7 +3440,7 @@ gtk_cell_area_activate_cell (GtkCellArea          *area,
           /* If the signal was successfully handled start the editing */
           if (gtk_widget_get_parent (GTK_WIDGET (editable_widget)))
             {
-              gtk_cell_editable_start_editing (editable_widget, NULL);
+              gtk_cell_editable_start_editing (editable_widget, event);
               gtk_widget_grab_focus (GTK_WIDGET (editable_widget));
             }
           else